package demo2;

public class Test {
    public static void main(String[] args){
        String str = "hello";
        String str2 = new String("jjj");

        System.out.println("=============================");
        String atr3 = "";
        System.out.println(atr3.isEmpty());
        String atr4 = null;
        //System.out.println(atr4.isEmpty());


        String art5 = "abcd";
        String art6 = "wbcd";
        System.out.println(art5.compareTo(art6));
    }
}
